The Color Space Conversions Applet
Select one or more color spaces by clicking on the buttons below. Each chosen color space will open as a separate Java frame. The frames are synchronized, to show each color's representation in all color spaces simultaneously. All frames contain controls to specify color coordinates and have colored rectangles at the bottom indicating the current color. When you leave this page, all active frames are disposed of automatically. (Of course, you can also close any frame manually.)
Note that while CIE L*u*v* space is not implemented due to its similarity to L*a*b*, the conversion algorithm will be provided.
All frames are very easy to understand and work
with. Here are some specifics:
|
Note: Getting the "Invalid RGB" message is perfectly OK. It means that for a particular color space the color's current coordinates cannot be represented as valid RGB numbers. Indeed, the RGB gamut does not cover even all visible colors, let alone those that may be specified in other coordinate systems, and thus contain some invisible components (e.g., a "touch of infrared"). Putting constraints on the allowed coordinate ranges would make the user interface to the YIQ and LAB frames ambiguous, for dynamic range recalculations would result in all the controls being rescaled.